Skip to content

Add Cloned to Option, kill find_copy and get_copy in favour of explicit cloning #18914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 17, 2014

Conversation

Gankra
Copy link
Contributor

@Gankra Gankra commented Nov 13, 2014

Part of #18424. r? @aturon

[breaking-change]

@Gankra Gankra force-pushed the cloned branch 3 times, most recently from 9a1dcc1 to f2876c6 Compare November 13, 2014 16:22
@Gankra
Copy link
Contributor Author

Gankra commented Nov 13, 2014

Note: I'm reasonably confident of this patch's correctness, but my ssh connection keeps cutting out in the middle of make check, so I can't confirm that everything passes at this point in time. Might have missed some stuff in docs or something.

@aturon
Copy link
Member

aturon commented Nov 14, 2014

@gankro Thanks, glad to see this. Feels neutral on ergonomics, but cuts down on API surface and adds to clarity.

r=me modulo a minr nit. (Feel free to have another reviewer do r=aturon if you can't reach me.)

@Gankra
Copy link
Contributor Author

Gankra commented Nov 14, 2014

nit addressed

@Gankra
Copy link
Contributor Author

Gankra commented Nov 16, 2014

I knew I was going to mess up the docs. Ah well.

fixed + rebased.

bors added a commit that referenced this pull request Nov 17, 2014
@bors bors closed this Nov 17, 2014
@bors bors merged commit dfb7a81 into rust-lang:master Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants